package com.itheima.advantagesup.mapper;

import com.github.pagehelper.Page;
import com.itheima.advantagesup.entity.YddUser;
import com.itheima.advantagesup.vo.UserDataListVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    void update(YddUser yddUser);

    Page<UserDataListVO> findByUserData(Integer userId, String type);
}
